package nl.ypmits.utils.as3.stage.input {
	import flash.display.Stage;
	import flash.display.StageScaleMode;

	/**
	 * @author Dave Lenz
	 */
	public class SimpleStageInput {
		public var stage : Stage;
		public var width : int;
		public var height : int;
		public var minimumwidth : int;
		public var minimumheight : int;
		public var fullscreen : Boolean = false;
		public var stagescalemode : String = StageScaleMode.NO_SCALE;
		public var stagealign : String = "";
		public var upperleftlock : Boolean = false;
		
		public function validate() : void 
		{
			if (width < 1) throw new Error( "ERROR! Specify the defaultWidth in SimpleStageInput" );
			if (height < 1) throw new Error( "ERROR! Specify the defaultHeight in SimpleStageInput" );	
		}
	}
}
